package yhp.bean;

//实体类包-主要存放和数据库对应的实体类
//类名=表名
//列名=属性名
//实体类需要包含：属性，构造(无参，全参构成) setter/getter
//属于Model(M)
public class Users {
    //这是类名
    private Integer id;
    private String username;
    private Integer password;
    private Integer account;

    public Users() {
    }

    public Users(Integer id, String username, Integer password, Integer account) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.account = account;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public Integer getAccount() {
        return account;
    }

    public void setAccount(Integer account) {
        this.account = account;
    }
}
